﻿namespace Gamelight.Graphics
{
	public struct Point
	{
		public Point(int x, int y)
		{
			this.X = x;
			this.Y = y;
		}

		public Point(double x, double y)
			: this((int)x, (int)y)
		{ }

		public int X;
		public int Y;
	}

	internal struct DblPoint
	{
		public DblPoint(double x, double y)
		{
			this.X = x;
			this.Y = y;
		}

		public DblPoint(Point intPoint)
		{
			this.X = intPoint.X;
			this.Y = intPoint.Y;
		}

		public double X;
		public double Y;
	}

	internal struct DblLine
	{
		public DblLine(DblPoint start, DblPoint end)
		{
			this.End = end;
			this.Start = start;
		}

		public DblPoint Start;
		public DblPoint End;
	}
}
